package com.ruoyi.jjyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 jjyh_banner
 * 
 * @author ruoyi
 * @date 2020-11-24
 */
public class JjyhBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 轮播图url */
    @Excel(name = "轮播图url")
    private String img;

    /** 分类 1图文详情 2跳转到商品 */
    @Excel(name = "分类 1图文详情 2跳转到商品")
    private String type;

    /** 详情内容 */
    @Excel(name = "详情内容")
    private String content;

    /** 商品id */
    @Excel(name = "商品id")
    private String goodsid;

    private String goodsName;

    private String typeName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setGoodsid(String goodsid) 
    {
        this.goodsid = goodsid;
    }

    public String getGoodsid() 
    {
        return goodsid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("name", getName())
            .append("img", getImg())
            .append("type", getType())
            .append("content", getContent())
            .append("goodsid", getGoodsid())
            .toString();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
